package com.chengcang.api.modules.busi.service;

import com.chengcang.api.modules.busi.dto.BusiDemandAddressSnapshotDTO;
import com.chengcang.api.modules.busi.entity.BusiDemandAddressSnapshotEntity;
import com.chengcang.common.service.CrudService;

import java.util.List;

/**
 * 地区表
 *
 * @author Zhanli xy321231@163.com
 * @since 1.0.0 2023-02-20
 */
public interface BusiDemandAddressSnapshotService extends CrudService<BusiDemandAddressSnapshotEntity, BusiDemandAddressSnapshotDTO> {

    BusiDemandAddressSnapshotEntity saveDemandSnapshot(Long demandId, Long addressId);

    List<BusiDemandAddressSnapshotDTO> selectBatchIds(List<Long> addressIds);
}